<div class="navbar navbar-inverse navbar-fixed-top">
    <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
    </button>
	<div class="navbar-inner row-fluid">
        <div class="span1">
            <ul class="navhomebutton nav">
                <li><a class="divhomey" href="<?= $base_url ?>/home"></a></li>
                <li class="divider-vertical"></li>
            </ul>    
        </div>
        <div class="span10">
            <div class="">
                <a class="brand" href="http://localhost/hmvc/cmis/discussionboard">Curriculum Management Information System</a>
            </div>
            <div class="">
                    <div class="nav-collapse collapse">
                <ul class="nav">
                    <li><a href="<?= $base_url ?>cmis/discussionboard">Discussion Board</a></li>
                    <li><a href="<?= $base_url ?>cmis/messages">Messages</a></li>
                    <?php
					$sample_usertype='admin';
                    if($sample_usertype == 'faculty')
                    {
						echo'<li><a href="http://localhost/hmvc/cmis/courses">Courses</a></li>';
                    } 
                    else if($sample_usertype == 'admin')
                    {
						echo'<li><a href="http://localhost/hmvc/cmis/curriculum">Curriculum</a></li>';
						echo'<li><a href="http://localhost/hmvc/cmis/courses">Courses</a></li>';
						echo'<li><a href="http://localhost/hmvc/cmis/accounts">Accounts</a></li>';
						echo'<li><a href="http://localhost/hmvc/cmis/audittrail">Audit Trail</a></li>';
                    }
					else
					{
					
					}
                    ?>
                </ul>
                <ul class="nav pull-right">

                    <li class="dropdown">
                        <a href="#"
                           class="dropdown-toggle"
                           data-toggle="dropdown">Help <strong class="caret"></strong></a>
                        <ul class="dropdown-menu">
                            <li>
                                <a href="<?= $base_url ?>information">Information</a>
                            </li>
                            <li class="divider"></li>
                            <li>
                                <a href="<?= $base_url ?>about">About Us</a>
                            </li>
                        </ul>
                    </li>
                    <li class="divider-vertical">
                    </li>
                    <li class="dropdown">
                        <a href="#"
                           class="dropdown-toggle"
                           data-toggle="dropdown"><? ?><strong class="caret"></strong></a>
                            <ul class="dropdown-menu">
                                <li>
                                    <a href="<?= $base_url ?>faculty/viewprofile/<? ?>">Profile</a>
                                </li>
                                <li>

                                <li class="divider"></li>
                                <li>
                                    <a href="<?= $base_url ?>fmis/logout">Log out</a>
                                </li>
                            </ul>
                    </li>
                </ul>
            </div>
                    <!--/.nav-collapse -->
            </div>
        </div>
        <div class="span1"></iframe></div>
	</div>
</div>
<div id="push"></div>